/**
 * @file lv_port_disp_templ.h
 *
 */

 /*Copy this file as "lv_port_disp.h" and set this value to "1" to enable content*/
#if 1

#ifndef LV_PORT_DISP_TEMPL_H
#define LV_PORT_DISP_TEMPL_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/
#include "lvgl.h"

/*********************
 *      DEFINES
 *********************/
#define LCD_HOR_RES LV_HOR_RES_MAX
#define LCD_VER_RES LV_VER_RES_MAX

// #define LV_GUI_BUF_ADDR  0x06700000

/**********************
 *      TYPEDEFS
 **********************/
typedef enum {
    OT_NORMAL,          // output in normal;
    OT_NORMAL_TRANS,    // output in normal, backgrd trans;
    OT_ROTATE_R_90,     // rotate right 90 degree;
    OT_MIRROR_L_R,      // mirror left to right;
} lv_output_t;

/**********************
 * GLOBAL PROTOTYPES
 **********************/

/**
 * @brief device display init  
 */
void lv_disp_dev_init(void);

/**
 * @brief littlevGL init  
 */
void lv_port_disp_init(void);

/**
 * @brief close display layer n
 * @param [in] layer : layer id  
 */
void lv_dpu_close_layer(uint8_t layer);


/**********************
 *      MACROS
 **********************/


#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*LV_PORT_DISP_TEMPL_H*/

#endif /*Disable/Enable content*/
